package org.androidmangher.mapper;

import org.androidmangher.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("SELECT * FROM t_user")
    List<User> getUserList();
    List<User> getUserList2();

    User getOneUser(User user);

    User insertOneUser(User user);
}